<?php

class TXT_Input extends CI_Input {

    function __construct() {

        parent::__construct();
    }

    /**
     * is_post 
     * 是否POST
     * 
     * @access public
     * @return void
     */
    function is_post() {

        if (strtoupper($this->server('REQUEST_METHOD')) == 'POST') {
            return true;
        } else {
            return false;
        }
    }
}
